<script type="text/javascript" >
    stFacebookToolbox.load_tooltip();
    stFacebookToolbox.on_submitform('#stFacebookToolboxForm', function(data){
        stFacebookToolbox.loadPage('facebook_search', '', '<?php _e("Successful", $config['plugin_name']) ?>');
    });
    stFacebookToolbox.loadUploadButton('200');
    stFacebookToolbox.loadRemoveButton();
</script>
<div class="w100p bgl">
    <div class="w100p bgr p5b">
        <form class="stform" id="stFacebookToolboxForm" action="<?php echo admin_url('/admin.php?page=' . $config['plugin_name'] . '&action=' . $current_action) ?>" method="post" >
            <ul>
                <li>
                    <label><?php _e('Search term', $config['plugin_name']); ?>:</label>
                    <div class="required">
                        <input value="<?php echo $searchterm;?>" class="required" name="data[searchterm]" id="searchterm" type="text"  />
                        <input type="hidden" name="data[user_id]" value="<?php echo $user_id;?>" />
                        <?php if(isset($id)):?>
                        <input value="<?php echo $id;?>" class="required" name="data[id]" id="id" type="hidden"  />
                        <?php endif;?>
                    </div>
                    <br clear="both" />
                </li>
               <li>
                    <input type="submit" value="<?php echo $button;?>"/>
                </li>

          
            </ul>
           
        </form>
    </div>
</div>